

package com.zdsx.controller;

import com.zdsx.annotation.Login;
import com.zdsx.common.utils.Result;
import com.zdsx.entity.UserEntity;
import com.zdsx.service.UserService;
import io.swagger.annotations.ApiOperation;
import lombok.AllArgsConstructor;
import org.springframework.web.bind.annotation.*;
import springfox.documentation.annotations.ApiIgnore;

/**
 * 登录
 *
 * @author Lr
 */
//@RestController
//@AllArgsConstructor
//@RequestMapping("/wx")
//@ApiIgnore
@Deprecated
public class WxUserController {

//    private final UserService userService;

//    @Login
//    @PostMapping("userInfo")
//    @ApiOperation("用户信息")
//    public Result logout(@ApiIgnore @RequestAttribute("userId") Long userId) {
//        UserEntity user = userService.getUserByUserId(userId);
//        return new Result().ok(user);
//    }

}